package com.stu.dcxy.design.creatation.builder;

/**
 * @Classname XiaomiBuilder
 * @Version 1.0.0
 * @Date 2022/3/30 19:28
 * @Created by yd
 */
public class XiaomiBuilder extends AbstractBuilder {

    public XiaomiBuilder() {
        phone = new Phone();
    }

    @Override
    void customCpu(String cpu) {
        phone.setCpu("晓龙888");

    }

    @Override
    void customMemory(String memory) {
        phone.setEme(memory);
    }

    @Override
    void customDisk(String disk) {
        phone.setDisk(disk);
    }

    @Override
    void customCamera(String camera) {
        phone.setCam(camera);
    }
}
